package com.jwds.digital.bios.business.core.infrastructure.entity.belt;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jwds.tdc.framework.database.lib.BaseEntity;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 路线历史指标表
 *
 * @author 林柏云
 * @date 2024-12-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("belt_route_target_his")
public class BeltRouteTargetHis extends BaseEntity<Long> {


    /**
     * 流程号:流程唯一标识
     */
    @TableField("flow_no")
    private Short flowNo;


    /**
     * 流程编号：由流程设备号组成，流程路径
     */
    @TableField("flow_code")
    private String flowCode;


    /**
     * 流程名称
     */
    @TableField("flow_name")
    private String flowName;


    /**
     * 流程距离：流程经过所有皮带的长度之和
     */
    @TableField("flow_distance")
    private BigDecimal flowDistance;


    /**
     * 吨料耗电量
     */
    @TableField("ton_power_consumption")
    private BigDecimal tonPowerConsumption;


    /**
     * 吨料耗电量-优秀线
     */
    @TableField("ton_power_consumption_excellent")
    private BigDecimal tonPowerConsumptionExcellent;


    /**
     * 吨料耗电量-及格线
     */
    @TableField("ton_power_consumption_wrong")
    private BigDecimal tonPowerConsumptionWrong;


    /**
     * 运行效率
     */
    @TableField("work_efficiency")
    private BigDecimal workEfficiency;


    /**
     * 运行效率-优秀线
     */
    @TableField("work_efficiency_excellent")
    private BigDecimal workEfficiencyExcellent;


    /**
     * 运行效率-及格线
     */
    @TableField("work_efficiency_wrong")
    private BigDecimal workEfficiencyWrong;


    /**
     * 运输效率（t/h）
     */
    @TableField("transport_efficiency")
    private BigDecimal transportEfficiency;


    /**
     * 运输效率（t/h）-优秀线
     */
    @TableField("transport_efficiency_excellent")
    private BigDecimal transportEfficiencyExcellent;


    /**
     * 运输效率（t/h）-及格线
     */
    @TableField("transport_efficiency_wrong")
    private BigDecimal transportEfficiencyWrong;


    /**
     * 平均负载率
     */
    @TableField("avg_all_load_rate")
    private BigDecimal avgAllLoadRate;


    /**
     * 平均负载率-优秀线
     */
    @TableField("avg_all_load_rate_excellent")
    private BigDecimal avgAllLoadRateExcellent;


    /**
     * 平均负载率-及格线
     */
    @TableField("avg_all_load_rate_wrong")
    private BigDecimal avgAllLoadRateWrong;


    /**
     * 平均阻力
     */
    @TableField("avg_resistance")
    private BigDecimal avgResistance;


    /**
     * 平均阻力-优秀线
     */
    @TableField("avg_resistance_excellent")
    private BigDecimal avgResistanceExcellent;


    /**
     * 平均阻力-及格线
     */
    @TableField("avg_resistance_wrong")
    private BigDecimal avgResistanceWrong;


    /**
     * 健康分数
     */
    @TableField("health_score")
    private Integer healthScore;


    /**
     * 空载运行时长，单位分钟
     */
    @TableField("un_load_running_time")
    private BigDecimal unLoadRunningTime;

    /**
     * 空载耗电量占比
     */
    @TableField("un_load_power_consumption_rate")
    private BigDecimal unLoadPowerConsumptionRate;


    /**
     * 运行时空载占比
     */
    @TableField("running_un_load_rate")
    private BigDecimal runningUnLoadRate;


    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;


    /**
     * 更新时间
     */
    @TableField("modify_time")
    private LocalDateTime modifyTime;


    /**
     * 创建人
     */
    @TableField("create_user")
    private String createUser;


    /**
     * 更新人
     */
    @TableField("modify_user")
    private String modifyUser;


    /**
     * 逻辑删除:0-未删除,1-已删除
     */
    @TableField("is_deleted")
    private Integer isDeleted;

}
